package edu.ccut.saturn.component.impl;

import java.util.HashMap;
import java.util.Map;

/**
 * 获得bundle中过滤器信息
 * 
 * @author xiyue1314
 *
 */
public class SaturnBundleFilterInfo {

	private String bundlesSymbolicName;
	
	private Map<String,SaturnFilterInfo> filterInfoMap;

	public SaturnBundleFilterInfo() {
		
	}

	public SaturnBundleFilterInfo(String bundlesSymbolicName) {
		this.bundlesSymbolicName = bundlesSymbolicName;
		this.filterInfoMap = new HashMap<String, SaturnFilterInfo>();
	}

	public String getBundlesSymbolicName() {
		return bundlesSymbolicName;
	}

	public void setBundlesSymbolicName(String bundlesSymbolicName) {
		this.bundlesSymbolicName = bundlesSymbolicName;
	}

	public Map<String, SaturnFilterInfo> getFilterInfoMap() {
		return filterInfoMap;
	}

	public void setFilterInfoMap(Map<String, SaturnFilterInfo> filterInfoMap) {
		this.filterInfoMap = filterInfoMap;
	}
	
	public void initSaturnBundleFilterInfo(SaturnBundleFilterInfo saturnBundleFilterInfo){
		if(saturnBundleFilterInfo!=null){
			this.filterInfoMap = saturnBundleFilterInfo.getFilterInfoMap();
		}	
	}
}
